package demo2;

public class Animal implements IRunning{
    String name;
    int age;
    public Animal(String name,int age){
        this.name = name;
        this.age = age;
    }
    @Override
    public void run() {
        System.out.println(name+" "+age+""+"正在跑步");
    }
}
